package com.boco.transnms.server.bo.ibo.workflow;

import com.boco.transnms.common.dto.base.DboCollection;
import com.boco.transnms.common.dto.base.BoQueryContext;
import com.boco.common.util.except.UserException;

import java.util.HashMap;
import com.boco.transnms.common.dto.WfOutline;
import com.boco.transnms.common.dto.base.BoActionContext;

/**
 * <p>Title: </p>
 *
 * <p>Description: WebMaster4.x</p>
 *
 * <p>Copyright: Copyright (c) 2005</p>
 *
 * <p>Company: BOCO</p>
 *
 * @author not attributable
 * @version 4.2.x
 */
public interface IOutlineBO {
    DboCollection getWorkList(BoQueryContext queryContext, HashMap map) throws UserException;
    DboCollection getHistoryList(BoQueryContext queryContext, String processType,String labelCn) throws UserException;
    void addLine(BoActionContext context, WfOutline line) throws UserException;
    void modifyLine(BoActionContext context, WfOutline line) throws UserException;
    WfOutline getLineByKey(BoActionContext context, String processKey) throws UserException;
    void deleteLineByKey(BoActionContext context, String processKey)throws UserException;
    DboCollection getAllList(BoActionContext actionContext,HashMap map)throws UserException;
    WfOutline getOutlineBySheetId(BoActionContext context, String processKey) throws UserException;
    String getWorkCuids(BoQueryContext queryContext,HashMap map) throws Exception;
}
